#include "value.h"
#include "inspector.h"

using namespace Commands::Core;

Value::Value()
: value(0.0f)
{}
//-----------------------------------------------------------------------------
Value::Value(float value)
: value(value)
{}
//-----------------------------------------------------------------------------
Value::Value(const Value& _value)
{
    this->value = _value.value;
}
//-----------------------------------------------------------------------------
Value::~Value()
{}
//-----------------------------------------------------------------------------
Value* Value::Copy(void) const
{
    return new Value(value);
}
//-----------------------------------------------------------------------------
float Value::Execute(const float seconds)
{
    return 0.0f;
}
//-----------------------------------------------------------------------------
bool Value::IsFinished(void) const
{
    return true;
}
//-----------------------------------------------------------------------------
void Value::Accept(Inspector& inspector)
{
    inspector.Inspect(*this);
}
